﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rated.Common.Classes
{
    public class Rating
    {
        public int ID { get; set; }
        public int RatedItemID { get; set; }
        public string Title { get; set; }
        public Single StarRating { get; set; }
        public DateTime Timestamp { get; set; }
        public Member Rator { get; set; }
        public string Description { get; set; }
        public string Response { get; set; } // A person can respond to any rating about themselves
        public bool CanEdit { get; set; } // you can edit a rating if you created it, i.e. if  Rator == self
        public bool CanRespond { get; set; } // you can respond to a rating, and edit the response if you own the ratedItem
    }
}
